home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: strips.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Croteam texture file (image/croteamTextureFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| x-fmt/111 Plain Text File
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 54 65 58 20 66 69 | 6c 65 20 74 6f 20 64 69 |% TeX fi|le to di|
|00000010| 73 70 6c 61 79 20 61 20 | 60 60 66 6f 6e 74 27 27 |splay a |``font''|
|00000020| 20 6d 61 64 65 20 66 72 | 6f 6d 20 69 6d 61 67 65 | made fr|om image|
|00000030| 74 6f 66 6f 6e 74 27 73 | 20 2d 73 74 72 69 70 73 |tofont's| -strips|
|00000040| 20 6f 70 74 69 6f 6e 2e | 0a 0a 25 20 53 65 74 20 | option.|..% Set |
|00000050| 75 70 20 6f 75 72 20 66 | 6f 6e 74 2e 0a 5c 6d 65 |up our f|ont..\me|
|00000060| 73 73 61 67 65 7b 46 6f | 6e 74 6e 61 6d 65 3f 20 |ssage{Fo|ntname? |
|00000070| 7d 0a 5c 72 65 61 64 20 | 2d 31 20 74 6f 20 5c 74 |}.\read |-1 to \t|
|00000080| 65 73 74 66 6f 6e 74 6e | 61 6d 65 0a 5c 66 6f 6e |estfontn|ame.\fon|
|00000090| 74 5c 74 65 73 74 66 6f | 6e 74 20 3d 20 5c 74 65 |t\testfo|nt = \te|
|000000a0| 73 74 66 6f 6e 74 6e 61 | 6d 65 5c 73 70 61 63 65 |stfontna|me\space|
|000000b0| 0a 5c 74 65 73 74 66 6f | 6e 74 0a 0a 25 20 5c 6d |.\testfo|nt..% \m|
|000000c0| 6f 6e 74 68 6e 61 6d 65 | 20 70 72 6f 64 75 63 65 |onthname| produce|
|000000d0| 73 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |s the na|me of th|
|000000e0| 65 20 6d 6f 6e 74 68 2c | 20 61 62 62 72 65 76 69 |e month,| abbrevi|
|000000f0| 61 74 65 64 20 74 6f 20 | 74 68 72 65 65 0a 25 20 |ated to |three.% |
|00000100| 6c 65 74 74 65 72 73 2e | 20 20 54 68 65 20 70 72 |letters.| The pr|
|00000110| 69 6d 69 74 69 76 65 20 | 5c 6d 6f 6e 74 68 20 73 |imitive |\month s|
|00000120| 68 6f 75 6c 64 20 6e 65 | 76 65 72 20 62 65 20 7a |hould ne|ver be z|
|00000130| 65 72 6f 2e 0a 25 20 0a | 5c 64 65 66 5c 6d 6f 6e |ero..% .|\def\mon|
|00000140| 74 68 6e 61 6d 65 7b 25 | 0a 20 20 20 5c 69 66 63 |thname{%|. \ifc|
|00000150| 61 73 65 5c 6d 6f 6e 74 | 68 0a 20 20 20 20 20 20 |ase\mont|h. |
|00000160| 5c 6f 72 20 4a 61 6e 5c | 6f 72 20 46 65 62 5c 6f |\or Jan\|or Feb\o|
|00000170| 72 20 4d 61 72 5c 6f 72 | 20 41 70 72 5c 6f 72 20 |r Mar\or| Apr\or |
|00000180| 4d 61 79 5c 6f 72 20 4a | 75 6e 25 0a 20 20 20 20 |May\or J|un%. |
|00000190| 20 20 5c 6f 72 20 4a 75 | 6c 5c 6f 72 20 41 75 67 | \or Ju|l\or Aug|
|000001a0| 5c 6f 72 20 53 65 70 5c | 6f 72 20 4f 63 74 5c 6f |\or Sep\|or Oct\o|
|000001b0| 72 20 4e 6f 76 5c 6f 72 | 20 44 65 63 25 0a 20 20 |r Nov\or| Dec%. |
|000001c0| 20 5c 66 69 0a 7d 25 0a | 0a 25 20 5c 74 69 6d 65 | \fi.}%.|.% \time|
|000001d0| 73 74 72 69 6e 67 20 70 | 72 6f 64 75 63 65 73 20 |string p|roduces |
|000001e0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 74 69 6d 65 |the curr|ent time|
|000001f0| 2c 20 69 6e 20 61 20 66 | 6f 72 6d 61 74 20 6c 69 |, in a f|ormat li|
|00000200| 6b 65 20 60 31 3a 31 34 | 20 70 2e 6d 2e 27 2e 0a |ke `1:14| p.m.'..|
|00000210| 25 20 0a 5c 64 65 66 5c | 74 69 6d 65 73 74 72 69 |% .\def\|timestri|
|00000220| 6e 67 7b 5c 62 65 67 69 | 6e 67 72 6f 75 70 0a 20 |ng{\begi|ngroup. |
|00000230| 20 20 5c 63 6f 75 6e 74 | 30 20 3d 20 5c 74 69 6d | \count|0 = \tim|
|00000240| 65 0a 20 20 20 5c 64 69 | 76 69 64 65 5c 63 6f 75 |e. \di|vide\cou|
|00000250| 6e 74 30 20 62 79 20 36 | 30 0a 20 20 20 5c 63 6f |nt0 by 6|0. \co|
|00000260| 75 6e 74 32 20 3d 20 5c | 63 6f 75 6e 74 30 20 20 |unt2 = \|count0 |
|00000270| 20 25 20 54 68 65 20 68 | 6f 75 72 2c 20 66 72 6f | % The h|our, fro|
|00000280| 6d 20 7a 65 72 6f 20 74 | 6f 20 32 33 2e 0a 20 20 |m zero t|o 23.. |
|00000290| 20 25 0a 20 20 20 5c 63 | 6f 75 6e 74 34 20 3d 20 | %. \c|ount4 = |
|000002a0| 5c 74 69 6d 65 0a 20 20 | 20 5c 6d 75 6c 74 69 70 |\time. | \multip|
|000002b0| 6c 79 5c 63 6f 75 6e 74 | 30 20 62 79 20 36 30 0a |ly\count|0 by 60.|
|000002c0| 20 20 20 5c 61 64 76 61 | 6e 63 65 5c 63 6f 75 6e | \adva|nce\coun|
|000002d0| 74 34 20 62 79 20 2d 5c | 63 6f 75 6e 74 30 20 20 |t4 by -\|count0 |
|000002e0| 20 25 20 54 68 65 20 6d | 69 6e 75 74 65 2c 20 66 | % The m|inute, f|
|000002f0| 72 6f 6d 20 7a 65 72 6f | 20 74 6f 20 35 39 2e 0a |rom zero| to 59..|
|00000300| 20 20 20 25 20 42 75 74 | 20 77 65 20 6e 65 65 64 | % But| we need|
|00000310| 20 74 68 65 20 6d 69 6e | 75 74 65 73 20 77 69 74 | the min|utes wit|
|00000320| 68 20 61 20 6c 65 61 64 | 69 6e 67 20 7a 65 72 6f |h a lead|ing zero|
|00000330| 2c 20 69 66 20 6e 65 63 | 65 73 73 61 72 79 2e 0a |, if nec|essary..|
|00000340| 20 20 20 5c 69 66 6e 75 | 6d 5c 63 6f 75 6e 74 34 | \ifnu|m\count4|
|00000350| 3c 31 30 0a 20 20 20 20 | 20 20 5c 74 6f 6b 73 31 |<10. | \toks1|
|00000360| 20 3d 20 7b 30 7d 25 0a | 20 20 20 5c 65 6c 73 65 | = {0}%.| \else|
|00000370| 0a 20 20 20 20 20 20 5c | 74 6f 6b 73 31 20 3d 20 |. \|toks1 = |
|00000380| 7b 7d 25 0a 20 20 20 5c | 66 69 0a 20 20 20 25 20 |{}%. \|fi. % |
|00000390| 0a 20 20 20 25 20 43 6f | 6e 76 65 72 74 20 74 68 |. % Co|nvert th|
|000003a0| 65 20 68 6f 75 72 20 69 | 6e 74 6f 20 60 61 2e 6d |e hour i|nto `a.m|
|000003b0| 2e 27 20 6f 72 20 60 70 | 2e 6d 2e 27 2c 20 61 6e |.' or `p|.m.', an|
|000003c0| 64 20 6d 61 6b 65 20 69 | 74 20 6d 6f 64 20 31 32 |d make i|t mod 12|
|000003d0| 2e 0a 20 20 20 5c 69 66 | 6e 75 6d 5c 63 6f 75 6e |.. \if|num\coun|
|000003e0| 74 32 3c 31 32 0a 20 20 | 20 20 20 20 5c 74 6f 6b |t2<12. | \tok|
|000003f0| 73 30 20 3d 20 7b 61 2e | 6d 2e 7d 25 0a 20 20 20 |s0 = {a.|m.}%. |
|00000400| 5c 65 6c 73 65 0a 20 20 | 20 20 20 20 5c 74 6f 6b |\else. | \tok|
|00000410| 73 30 20 3d 20 7b 70 2e | 6d 2e 7d 25 0a 20 20 20 |s0 = {p.|m.}%. |
|00000420| 20 20 20 5c 61 64 76 61 | 6e 63 65 5c 63 6f 75 6e | \adva|nce\coun|
|00000430| 74 32 20 62 79 20 2d 31 | 32 0a 20 20 20 5c 66 69 |t2 by -1|2. \fi|
|00000440| 0a 20 20 20 25 0a 20 20 | 20 25 20 49 66 20 69 74 |. %. | % If it|
|00000450| 27 73 20 6d 69 64 6e 69 | 67 68 74 2c 20 63 61 6c |'s midni|ght, cal|
|00000460| 6c 20 69 74 20 60 31 32 | 27 2c 20 6e 6f 74 20 60 |l it `12|', not `|
|00000470| 30 27 2e 0a 20 20 20 5c | 69 66 6e 75 6d 5c 63 6f |0'.. \|ifnum\co|
|00000480| 75 6e 74 32 3d 30 0a 20 | 20 20 20 20 20 5c 63 6f |unt2=0. | \co|
|00000490| 75 6e 74 32 20 3d 20 31 | 32 0a 20 20 20 5c 66 69 |unt2 = 1|2. \fi|
|000004a0| 0a 20 20 20 25 0a 20 20 | 20 25 20 50 72 6f 64 75 |. %. | % Produ|
|000004b0| 63 65 20 74 68 65 20 6f | 75 74 70 75 74 2e 0a 20 |ce the o|utput.. |
|000004c0| 20 20 5c 6e 75 6d 62 65 | 72 5c 63 6f 75 6e 74 32 | \numbe|r\count2|
|000004d0| 3a 5c 74 68 65 5c 74 6f | 6b 73 31 20 5c 6e 75 6d |:\the\to|ks1 \num|
|000004e0| 62 65 72 5c 63 6f 75 6e | 74 34 20 5c 74 68 69 6e |ber\coun|t4 \thin|
|000004f0| 73 70 61 63 65 20 5c 74 | 68 65 5c 74 6f 6b 73 30 |space \t|he\toks0|
|00000500| 0a 5c 65 6e 64 67 72 6f | 75 70 7d 25 0a 25 0a 25 |.\endgro|up}%.%.%|
|00000510| 0a 25 20 5c 74 69 6d 65 | 73 74 61 6d 70 20 70 72 |.% \time|stamp pr|
|00000520| 6f 64 75 63 65 73 20 61 | 20 74 65 78 74 20 73 74 |oduces a| text st|
|00000530| 72 69 6e 67 20 66 6f 72 | 20 74 68 65 20 77 68 6f |ring for| the who|
|00000540| 6c 65 20 74 68 69 6e 67 | 20 6c 69 6b 65 0a 25 20 |le thing| like.% |
|00000550| 60 32 33 20 41 70 72 20 | 31 39 36 34 20 20 31 3a |`23 Apr |1964 1:|
|00000560| 31 34 20 70 2e 6d 2e 27 | 2e 0a 25 0a 5c 64 65 66 |14 p.m.'|..%.\def|
|00000570| 5c 74 69 6d 65 73 74 61 | 6d 70 7b 5c 6e 75 6d 62 |\timesta|mp{\numb|
|00000580| 65 72 5c 64 61 79 5c 73 | 70 61 63 65 5c 6d 6f 6e |er\day\s|pace\mon|
|00000590| 74 68 6e 61 6d 65 5c 73 | 70 61 63 65 5c 6e 75 6d |thname\s|pace\num|
|000005a0| 62 65 72 5c 79 65 61 72 | 5c 71 75 61 64 5c 74 69 |ber\year|\quad\ti|
|000005b0| 6d 65 73 74 72 69 6e 67 | 7d 25 0a 0a 5c 6e 6f 70 |mestring|}%..\nop|
|000005c0| 61 67 65 6e 75 6d 62 65 | 72 73 0a 5c 68 65 61 64 |agenumbe|rs.\head|
|000005d0| 6c 69 6e 65 20 3d 20 7b | 5c 68 66 69 6c 20 5c 74 |line = {|\hfil \t|
|000005e0| 74 20 5c 74 65 73 74 66 | 6f 6e 74 6e 61 6d 65 20 |t \testf|ontname |
|000005f0| 5c 71 75 61 64 20 5c 74 | 69 6d 65 73 74 61 6d 70 |\quad \t|imestamp|
|00000600| 7d 0a 0a 25 20 55 73 65 | 20 61 73 20 6d 75 63 68 |}..% Use| as much|
|00000610| 20 6f 66 20 74 68 65 20 | 70 61 67 65 20 61 73 20 | of the |page as |
|00000620| 77 65 20 64 61 72 65 2e | 0a 5c 68 6f 66 66 73 65 |we dare.|.\hoffse|
|00000630| 74 20 3d 20 2d 35 70 63 | 20 20 5c 68 73 69 7a 65 |t = -5pc| \hsize|
|00000640| 20 3d 20 34 39 70 63 0a | 5c 76 6f 66 66 73 65 74 | = 49pc.|\voffset|
|00000650| 20 3d 20 2d 35 70 63 20 | 20 5c 76 73 69 7a 65 20 | = -5pc | \vsize |
|00000660| 3d 20 36 34 70 63 0a 0a | 25 20 44 6f 6e 27 74 20 |= 64pc..|% Don't |
|00000670| 77 6f 72 72 79 20 69 66 | 20 74 68 65 72 65 27 73 |worry if| there's|
|00000680| 20 6e 6f 20 67 6f 6f 64 | 20 70 6c 61 63 65 20 74 | no good| place t|
|00000690| 6f 20 62 72 65 61 6b 20 | 70 61 67 65 73 2e 0a 5c |o break |pages..\|
|000006a0| 76 62 61 64 6e 65 73 73 | 20 3d 20 31 30 30 30 30 |vbadness| = 10000|
|000006b0| 0a 0a 25 20 4e 6f 20 6c | 65 61 64 69 6e 67 20 62 |..% No l|eading b|
|000006c0| 65 74 77 65 65 6e 20 60 | 60 6c 69 6e 65 73 27 27 |etween `|`lines''|
|000006d0| 2e 0a 5c 6f 66 66 69 6e | 74 65 72 6c 69 6e 65 73 |..\offin|terlines|
|000006e0| 6b 69 70 0a 0a 25 20 44 | 6f 6e 27 74 20 77 6f 72 |kip..% D|on't wor|
|000006f0| 72 79 20 69 66 20 74 68 | 65 20 66 6f 6e 74 20 64 |ry if th|e font d|
|00000700| 6f 65 73 6e 27 74 20 68 | 61 76 65 20 65 78 61 63 |oesn't h|ave exac|
|00000710| 74 6c 79 20 32 35 36 20 | 63 68 61 72 61 63 74 65 |tly 256 |characte|
|00000720| 72 73 2c 20 73 69 6e 63 | 65 0a 25 20 72 6f 75 6e |rs, sinc|e.% roun|
|00000730| 64 6f 66 66 20 65 72 72 | 6f 72 20 6d 61 6b 65 73 |doff err|or makes|
|00000740| 20 74 68 69 73 20 6c 69 | 6b 65 6c 79 2e 0a 5c 74 | this li|kely..\t|
|00000750| 72 61 63 69 6e 67 6c 6f | 73 74 63 68 61 72 73 20 |racinglo|stchars |
|00000760| 3d 20 30 0a 0a 0a 5c 63 | 6f 75 6e 74 32 35 35 20 |= 0...\c|ount255 |
|00000770| 3d 20 30 0a 5c 6c 6f 6f | 70 0a 20 20 25 5c 73 65 |= 0.\loo|p. %\se|
|00000780| 74 62 6f 78 30 20 3d 20 | 5c 68 62 6f 78 7b 5c 63 |tbox0 = |\hbox{\c|
|00000790| 68 61 72 5c 63 6f 75 6e | 74 32 35 35 7d 0a 20 20 |har\coun|t255}. |
|000007a0| 5c 6c 65 66 74 6c 69 6e | 65 7b 5c 63 68 61 72 5c |\leftlin|e{\char\|
|000007b0| 63 6f 75 6e 74 32 35 35 | 7d 0a 20 20 5c 61 64 76 |count255|}. \adv|
|000007c0| 61 6e 63 65 5c 63 6f 75 | 6e 74 32 35 35 20 62 79 |ance\cou|nt255 by|
|000007d0| 20 31 0a 20 20 5c 69 66 | 6e 75 6d 5c 63 6f 75 6e | 1. \if|num\coun|
|000007e0| 74 32 35 35 3c 32 35 36 | 0a 5c 72 65 70 65 61 74 |t255<256|.\repeat|
|000007f0| 0a 0a 5c 65 6e 64 0a | |..\end. | |
+--------+-------------------------+-------------------------+--------+--------+